using System;
using System.Xml.Serialization;

namespace WHC.Hotel.Entity
{
    [Serializable]
    public class ProtocolUnitInfo : BaseEntity
    {    
        #region Field Members

        private int m_Id = 0;         
        private string m_UnitName = "";         
        private string m_UnitCode = "";         
        private string m_UnitType = "";         
        private string m_UserName = "";         
        private int m_UserId = 0;         
        private bool m_IsAllowHang = false;         
        private decimal m_HangAmount = 0;         
        private string m_Address = "";         
        private string m_Remark = "";         
        private string m_ContactUser = "";         
        private string m_ContactPhone = "";         
        private decimal m_HangMaxAmount = 0; //挂账限额          
        private string m_OperatorUser = ""; //操作人员          
        private DateTime m_OperatorDate = System.DateTime.Now; //操作时间          
        private bool m_IsStop = false; //是否停用（1：停用）          

        #endregion

        #region Property Members
        
        public virtual int Id
        {
            get
            {
                return this.m_Id;
            }
            set
            {
                this.m_Id = value;
            }
        }

        public virtual string UnitName
        {
            get
            {
                return this.m_UnitName;
            }
            set
            {
                this.m_UnitName = value;
            }
        }

        public virtual string UnitCode
        {
            get
            {
                return this.m_UnitCode;
            }
            set
            {
                this.m_UnitCode = value;
            }
        }

        public virtual string UnitType
        {
            get
            {
                return this.m_UnitType;
            }
            set
            {
                this.m_UnitType = value;
            }
        }

        public virtual string UserName
        {
            get
            {
                return this.m_UserName;
            }
            set
            {
                this.m_UserName = value;
            }
        }

        public virtual int UserId
        {
            get
            {
                return this.m_UserId;
            }
            set
            {
                this.m_UserId = value;
            }
        }

        public virtual bool IsAllowHang
        {
            get
            {
                return this.m_IsAllowHang;
            }
            set
            {
                this.m_IsAllowHang = value;
            }
        }

        public virtual decimal HangAmount
        {
            get
            {
                return this.m_HangAmount;
            }
            set
            {
                this.m_HangAmount = value;
            }
        }

        public virtual string Address
        {
            get
            {
                return this.m_Address;
            }
            set
            {
                this.m_Address = value;
            }
        }

        public virtual string Remark
        {
            get
            {
                return this.m_Remark;
            }
            set
            {
                this.m_Remark = value;
            }
        }

        public virtual string ContactUser
        {
            get
            {
                return this.m_ContactUser;
            }
            set
            {
                this.m_ContactUser = value;
            }
        }

        public virtual string ContactPhone
        {
            get
            {
                return this.m_ContactPhone;
            }
            set
            {
                this.m_ContactPhone = value;
            }
        }

        /// <summary>
        /// 挂账限额
        /// </summary>
        public virtual decimal HangMaxAmount
        {
            get
            {
                return this.m_HangMaxAmount;
            }
            set
            {
                this.m_HangMaxAmount = value;
            }
        }

        /// <summary>
        /// 操作人员
        /// </summary>
        public virtual string OperatorUser
        {
            get
            {
                return this.m_OperatorUser;
            }
            set
            {
                this.m_OperatorUser = value;
            }
        }

        /// <summary>
        /// 操作时间
        /// </summary>
        public virtual DateTime OperatorDate
        {
            get
            {
                return this.m_OperatorDate;
            }
            set
            {
                this.m_OperatorDate = value;
            }
        }

        /// <summary>
        /// 是否停用（1：停用）
        /// </summary>
        public virtual bool IsStop
        {
            get
            {
                return this.m_IsStop;
            }
            set
            {
                this.m_IsStop = value;
            }
        }


        #endregion

    }
}